package com.stylefeng.guns.modular.system.service.impl;

import com.stylefeng.guns.modular.system.model.PhoneUserinfoRepeat;
import com.stylefeng.guns.modular.system.dao.PhoneUserinfoRepeatMapper;
import com.stylefeng.guns.modular.system.service.IPhoneUserinfoRepeatService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 用户信息表 服务实现类
 * </p>
 *
 * @author kutty
 * @since 2018-11-07
 */
@Service
public class PhoneUserinfoRepeatServiceImpl extends ServiceImpl<PhoneUserinfoRepeatMapper, PhoneUserinfoRepeat> implements IPhoneUserinfoRepeatService {

    @Autowired
    PhoneUserinfoRepeatMapper phoneUserinfoRepeatMapper;

    public int addPhoneUserinfoRepeat(PhoneUserinfoRepeat phoneUserinfoRepeat){
        return phoneUserinfoRepeatMapper.insert(phoneUserinfoRepeat);
    }

    public List<PhoneUserinfoRepeat> selByPhoneUdidAndPhoneSoftname(PhoneUserinfoRepeat phoneUserinfoRepeat){
        return phoneUserinfoRepeatMapper.selByPhoneUdidAndPhoneSoftname(phoneUserinfoRepeat);
    }

}
